/**
 * @file ui_main.h
 * @author your name (you@domain.com)
 * @brief ui main
 * @version 0.1
 * @date 2023-06-03
 * 
 * @copyright Copyright (c) 2023
 * 
 */

#ifndef UI_MAIN_H
#define UI_MAIN_H

#include "frame.h"

#ifdef __cplusplus
extern "C"
{
#endif

/**
 * @brief init ui app(only once)
 * 
 * @return int -1 error 0 success
 */
int ui_app_init();

/**
 * @brief ui app schedule
 * 
 * @return int -1 error 0 success
 */
int ui_app_loop();

/**
 * @brief deinit ui app
 * 
 * @return int -1 error 0 success
 */
int ui_app_deinit();


#ifdef __cplusplus
}
#endif


#endif